import type { CategoryTopItem } from './../types/category.d';
import { http } from '../utils/http';

//一级分类
export const getCategoryTopAPI = () => {
  return http<CategoryTopItem[]>({
    method: 'GET',
    url: '/category/top',
  });
};
